|
1: |
|
terms(N) |
→ cons(recip(sqr(N)),n__terms(s(N))) |
2: |
|
sqr(0) |
→ 0 |
3: |
|
sqr(s(X)) |
→ s(add(sqr(X),dbl(X))) |
4: |
|
dbl(0) |
→ 0 |
5: |
|
dbl(s(X)) |
→ s(s(dbl(X))) |
6: |
|
add(0,X) |
→ X |
7: |
|
add(s(X),Y) |
→ s(add(X,Y)) |
8: |
|
first(0,X) |
→ nil |
9: |
|
first(s(X),cons(Y,Z)) |
→ cons(Y,n__first(X,activate(Z))) |
10: |
|
half(0) |
→ 0 |
11: |
|
half(s(0)) |
→ 0 |
12: |
|
half(s(s(X))) |
→ s(half(X)) |
13: |
|
half(dbl(X)) |
→ X |
14: |
|
terms(X) |
→ n__terms(X) |
15: |
|
first(X1,X2) |
→ n__first(X1,X2) |
16: |
|
activate(n__terms(X)) |
→ terms(X) |
17: |
|
activate(n__first(X1,X2)) |
→ first(X1,X2) |
18: |
|
activate(X) |
→ X |
|
There are 10 dependency pairs: